import { getRequest,postRequest,postNoAuthRequest } from '@/libs/axios';
// 登录接口
export const loginOnWeb = (params) => {
    return postNoAuthRequest('/user/login', params)
}
// 医生列表
export const doctorList = () => {
    return postRequest('/doctor/list')
}
// 修改医生状态
export const updateStatus = (params) => {
    return postRequest('/doctor/updateStatus',params)
}
// 修改医生
export const updateDoctors = (params) => {
    return postRequest('/doctor/updateDoctor',params)
}
// 添加医生
export const addDoctor = (params) => {
    return postRequest('/doctor/saveDoctor',params)
}
// 删除医生
export const delDoctor = (params) => {
    return postRequest('/doctor/del',params)
}
// 搜索医生
export const searchDoctor = (params) => {
    return postRequest('/doctor/search',params)
}
// 获取正在工作的医生
export const typeDoctor = (params) => {
    return postRequest('/doctor/type',params)
}
// 医疗器械列表
export const medicalLists = (params) => {
    return postRequest('/medicalequipment/list',params)
}
// 医疗器械修改
export const updataMedical = (params) => {
    return postRequest('/medicalequipment/update',params)
}
// 医疗器械删除
export const delMedical = (params) => {
    return postRequest('/medicalequipment/del',params)
}
// 医疗器械添加
export const saveMedical = (params) => {
    return postRequest('/medicalequipment/save',params)
}
// 药品列表-搜索
export const medicineLists = (params) => {
    return postRequest('/medicine/list',params)
}
// 药品修改
export const medicineUpdata = (params) => {
    return postRequest('/medicine/upData',params)
}
// 药品添加
export const medicineAdd = (params) => {
    return postRequest('/medicine/add',params)
}
// 药品删除
export const medicineDel = (params) => {
    return postRequest('/medicine/del',params)
}
// 用户字典列表
export const userConfig = (params) => {
    return postRequest('/userConfig/list',params)
}
// 用户字典添加
export const userConfigAdd = (params) => {
    return postRequest('/userConfig/add',params)
}
// 用户字典删除
export const userConfigDel = (params) => {
    return postRequest('/userConfig/del',params)
}
// 用户字典修改
export const userConfigUpdata = (params) => {
    return postRequest('/userConfig/updata',params)
}
// 用户字典类别列表
export const userConfigByType = (params) => {
    return postRequest('/userConfig/type',params)
}
// 用户列表
export const userLists = (params) => {
    return postRequest('/user/list', params)
}
// 用户添加
export const userAdd = (params) => {
    return postRequest('/user/register', params)
}
// 用户状态
export const userStatus = (params) => {
    return postRequest('/user/status', params)
}
// 用户删除
export const userDel = (params) => {
    return postRequest('/user/del', params)
}
// 用户删除
export const usermodify = (params) => {
    return postRequest('/user/modify', params)
}
// 预约登记
export const appointment = (params) => {
    return postRequest('/appointment/add', params)
}
// 已预约列表
export const appointmentList = (params) => {
    return postRequest('/appointment/list', params)
}
// 已预约取消
export const appointmentDel = (params) => {
    return postRequest('/appointment/del', params)
}
// 病例列表
export const patientLists = (params) => {
    return postRequest('/patient/list', params)
}
// 病例列表
export const patientStatu = (params) => {
    return postRequest('/patient/up', params)
}
// 修改用户信息
export const patientUpdata = (params) => {
    return postRequest('/patient/updata', params)
}
// 修改用户药品
export const patientMed = (params) => {
    return postRequest('/patient/med', params)
}
// 完成
export const patientfinish = (params) => {
    return postRequest('/patient/complete', params)
}
// 修改用户处方
export const patientPre = (params) => {
    return postRequest('/prescription/addchange', params)
}
// 账单列表
export const orderlist = (params) => {
    return postRequest('/order/list', params)
}
// 支付
export const orderpay = (params) => {
    return postRequest('/order/pay', params)
}